package com.mm.learn.shopping.order.vo;

import com.mm.learn.shopping.order.entity.OmsOrder;
import com.mm.learn.shopping.order.entity.OmsOrderItem;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.util.CollectionUtils;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author wdx
 * @date 2021年07月26日 16:58
 * 订单数据
 */

@Data
public class OrderCreateTo {

    private OmsOrder orderEntity;
    private List<OmsOrderItem> orderItems;
    /**
     * 订单计算的应付价格
     */
    private BigDecimal payPrice;
    /**
     * 运费
     */
    private BigDecimal fare;


}
